Skip to content

Conversation

@hary-singh
Copy link
Collaborator

This pull request introduces a new restart command to the CLI and makes several improvements to the user-facing documentation strings for existing commands. The most significant change is the addition of the restart workflow, which allows users to restart individual services with updated configuration. Additionally, the PR refactors the formatting of help text for all CLI commands to improve readability and consistency.

New Feature: Service Restart

  • Added a new restart command (internal/cli/restart.go) that allows restarting one or more services, with options to force image rebuild and smart config change detection. The command stops running containers, recreates them with the latest configuration, and provides user-friendly output and error handling.
  • Implemented helper logic to retrieve the Docker network ID for a project, enabling network-aware service orchestration.

CLI Documentation and Help Text Improvements

  • Reformatted the Long and Example strings for all major CLI commands (up, down, ps, logs, root) to use multi-line formatting, improving readability in CLI help output. [1] [2] [3] [4] [5]

…rking support

- Introduce `restart` command to stop and recreate services with updated configurations.
- Add `GetNetworkID` method to a Docker client for network management.
- Improve formatting for command descriptions and examples across CLI commands.

Signed-off-by: Harry Dhillon <harry@harryy.dev>
@hary-singh hary-singh self-assigned this Oct 18, 2025
@hary-singh hary-singh merged commit 257ece5 into main Oct 18, 2025
2 checks passed
@hary-singh hary-singh deleted the feature/add-ork-restart-command-support branch October 18, 2025 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants